home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 31 / Amiga Format CD31 (1998-09-02)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1998-10].iso / -seriously_amiga- / hardware / transadf / source / pkzip.h < prev    next >
C/C++ Source or Header  |  1998-07-20  |  2KB  |  48 lines

  1. /* pkzip.h - Header file for pkzip.c
  2. ** Copyright (C) 1997,1998 Karl J. Ots
  3. ** 
  4. ** This program is free software; you can redistribute it and/or modify
  5. ** it under the terms of the GNU General Public License as published by
  6. ** the Free Software Foundation; either version 2 of the License, or
  7. ** (at your option) any later version.
  8. ** 
  9. ** This program is distributed in the hope that it will be useful,
  10. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. ** GNU General Public License for more details.
  13. ** 
  14. ** You should have received a copy of the GNU General Public License
  15. ** along with this program; if not, write to the Free Software
  16. ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  17. */
  18.  
  19. #ifndef TRANSADF_PKZIP_H
  20. #define TRANSADF_PKZIP_H
  21.  
  22. /*---------------------*/
  23. /* PKZip file routines */
  24. /*---------------------*/
  25.  
  26. #ifndef EXEC_TYPES_H
  27. #include <exec/types.h>
  28. #endif /* EXEC_TYPES_H */
  29.  
  30. #ifndef DOS_DOS_H
  31. #include <dos/dos.h>
  32. #endif /* DOS_DOS_H */
  33.  
  34.  
  35. /*---------------------*/
  36. /* Function prototypes */
  37. /*---------------------*/
  38.  
  39. BOOL   writePKZHead     (BPTR outFile, STRPTR origName);
  40. BOOL   finishPKZFile    (BPTR outFile, ULONG CRC, ULONG CSize, ULONG USize);
  41. BOOL   writePKZHeadAdd  (BPTR outFile, STRPTR origName);
  42. BOOL   finishPKZFileAdd (BPTR outFile, ULONG CRC, ULONG CSize, ULONG USize);
  43. BOOL   skipPKZHead      (BPTR inFile, STRPTR origName);
  44. BOOL   readPKZTail      (BPTR inFile, ULONG *CRC, ULONG *USize);
  45.  
  46.  
  47. #endif /* TRANSADF_PKZIP_H */
  48.